<!--  start product-table ..................................................................................... -->
				<form id="mainform" action="">
				<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
				<tr>
					<th class="table-header-check"><a id="toggle-all" ></a></th>
					<th class="table-header-repeat line-left"><a href="">ID</a></th>
					<th class="table-header-repeat line-left minwidth-1"><a href="">Tên lớp</a></th>
					<th class="table-header-repeat line-left"><a href="">Họ tên học viên</a></th>
					<th class="table-header-repeat line-left"><a href="">Năm sinh</a></th>
					<th class="table-header-repeat line-left"><a href="">Ngày đăng ký</a></th>
					<th class="table-header-options line-left"><a href="">Tùy chọn</a></th>
				</tr>
				
				
<?php
	foreach($this->danhsach as $danhsach)
	{
		$lophoc = $danhsach->getLophoc();
		$hocvien = $danhsach->getHocvien();
		
		$id = $hocvien->getId();
		$tenlop = $lophoc->getTenlop();
		$tenhocvien = $hocvien->getTenhocvien();
		$namsinh = $hocvien->getNamsinh();
		$ngaydangky = $hocvien->getDate();
		
		$linkEdit = $this->baseUrl('/admin/hocvien/capnhat/id/'. $id);
		$linkDelete = $this->baseUrl('/admin/hocvien/xoa/id/'. $id);
		
?>
	<tr>
					<td><input  type="checkbox"/></td>
					<td><?php echo $id?></td>
					<td><?php echo $tenlop?></td>
					<td><?php echo $tenhocvien?></td>
					<td><?php echo $namsinh?></td>
					<td><?php echo $ngaydangky?></td>
					<td class="options-width">
					<a href="<?php echo $linkEdit?>" title="Edit" class="icon-1 info-tooltip"></a>
					<a href="<?php echo $linkDelete?>" title="Edit" class="icon-2 info-tooltip"></a>
					</td>
				</tr>
<?php
			
	} 
?>
			</table>
				<!--  end product-table................................... -->
				</form>
